﻿using Dal;
using Model;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bll
{
    public class Dbll
    {
        public Dbll(Dengdal dengdal)
        {
            Dengdal = dengdal;
        }

        public Dengdal Dengdal { get; }
        public int dadd(Dengmodel dengmodel)
        {
            return Dengdal.dadd(dengmodel);
        }
        public Dengmodel getbyid(int id)
        {
            return Dengdal.getbyid(id);
        }
        public Dengmodel getbyname(string shouji)
        {
            return Dengdal.getbyname(shouji);
        }
        public List<Dengmodel> dshow()
        {
            return Dengdal.dshow();
        }
    }
}
